'use strict';

const info = {};

module.exports = function(req, res, next) {
    const { username, password } = req.params;
    res.send(Object.assign(info, { "route": req.route, "api": req.path, "username": username }));
    next();
};